package com.qfedu.lc.app.controller;


import com.qfedu.lc.app.service.SmsLogFeign;
import com.qfedu.lc.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/sms")
public class SmsLogController {

    @Autowired
    private SmsLogFeign smsLogFeign;


    @RequestMapping(value = "/sendrcode",method = RequestMethod.GET) // 发送验证码
    public R sendRegisterCode(String phone){


        return smsLogFeign.sendRegisterCode(phone);

    }


}
